package com.primeton.whdc.ccms.reportimpl.param;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author: YunTao.Li
 * @create: 2020-04-12 14:02
 * @description:
 **/
@Data
public class EmployeeDetailVO {
    private static final long serialVersionUID = -4001936942943674622L;
    private BigDecimal empId;

    private String empCode;

    private BigDecimal operatorId;

    private Integer userId;

    private String empName;

    private String deptCode;
    private String deptName;
    private String orgCode;
    private String orgName;

    private String realName;

    private String gender;

    private String genderId;

//    private Date birthdate;

    private BigDecimal position;

    private String empStatusId;

    private String empStatus;

    private String cardType;

    private String cardNo;

//    private Date inDate;
//
//    private Date outDate;

    private String oTel;

    private String oAddress;

    private String oZipCode;

    private String oEmail;

    private String faxNo;

    private String mobileNo;

    private String qq;

    private String hTel;

    private String hAddress;

    private String hZipcode;

    private String pEmail;

    private String party;

    private String partyId;

    private String degree;

    private Integer sortNo;

    private BigDecimal major;

    private String specialty;

    private String workexp;

//    private Date regDate;

//    private Date createTime;

//    private Date lastmodyTime;

    private String orgIdList;

    private String orgId;

    private String remark;

    private String tenantId;

    private String appId;

    private String weibo;

    private String portrait;

    private String photo;

    private Integer orgEmpSort;
//    private Users user;
//    private List<OrgPositionVO> positions;
    private List<OrgOrganization> orgs;

    public String toString() {
//        if(getOrgs() != null) {
//            System.out.println("getOrgs() size:" + getOrgs().size());
//            for(OrgOrganization org : getOrgs()) {
//                System.out.println(org.toString());
//            }
//        }
        return "OrgEmployee(empId=" + getEmpId() + ", empCode=" + getEmpCode() + ", operatorId=" + getOperatorId() + ", userId=" + getUserId() + ", empName=" + getEmpName() + ", realName=" + getRealName() + ", gender=" + getGender() + ", genderId=" + getGenderId() + ", birthdate=, position=" + getPosition() + ", empStatusId=" + getEmpStatusId() + ", empStatus=" + getEmpStatus() + ", cardType=" + getCardType() + ", cardNo=" + getCardNo() + ", oTel=" + getOTel() + ", oAddress=" + getOAddress() + ", oZipCode=" + getOZipCode() + ", oEmail=" + getOEmail() + ", faxNo=" + getFaxNo() + ", mobileNo=" + getMobileNo() + ", qq=" + getQq() + ", hTel=" + getHTel() + ", hAddress=" + getHAddress() + ", hZipcode=" + getHZipcode() + ", pEmail=" + getPEmail() + ", party=" + getParty() + ", partyId=" + getPartyId() + ", degree=" + getDegree() + ", sortNo=" + getSortNo() + ", major=" + getMajor() + ", specialty=" + getSpecialty() + ", workexp=" + getWorkexp() + ", regDate=, createTime=, lastmodyTime=, orgIdList=" + getOrgIdList() + ", orgId=" + getOrgId() + ", orgName=" + getOrgName() + ", remark=" + getRemark() + ", tenantId=" + getTenantId() + ", appId=" + getAppId() + ", weibo=" + getWeibo() + ", portrait=" + getPortrait() + ", photo=" + getPhoto() + ", orgEmpSort=" + getOrgEmpSort() + ")";
    }
}